package com.j3.db;

public class EfDataSource {
	public EfDataSource() {

	}

	private String dataSourceName = null;

	private String jndiName = null;

	public EfDataSource(String dataSourceName, String jndiName) {
		this.dataSourceName = dataSourceName;
		this.jndiName = jndiName;
	}

	public String getDataSourceName() {
		return dataSourceName;
	}

	public void setDataSourceName(String dataSourceName) {
		this.dataSourceName = dataSourceName;
	}

	public String getJndiName() {
		return jndiName;
	}

	public void setJndiName(String jndiName) {
		this.jndiName = jndiName;
	}

	public String toString() {
		StringBuilder buffer = new StringBuilder(128);
		buffer.append("  dsname:").append(this.dataSourceName);
		buffer.append("  jndi:").append(this.jndiName);
		return buffer.toString();
	}

}